xfun::in_dir('tools', {
  # download paged.js
  xfun::download_file('https://unpkg.com/pagedjs/dist/paged.polyfill.js', '../inst/resources/js/paged.js')
})
